import request from '../utils/request';
import url from '../utils/url';

//版本信息列表
export function list(params) {
    return request(url.versionControlList, {
        method: 'POST',
        params
    });
}

//添加版本信息
export function add(params) {
    return request(url.addVersionControl, {
        method: 'POST',
        params
    });
}

//修改版本信息
export function upd(params) {
    return request(url.updVersionControl, {
        method: 'POST',
        params
    });
}
//修改版本信息
export function del(params) {
    return request(url.delVersionControl, {
        method: 'POST',
        params
    });
}
